gridpack::factory::BaseFactory< _network > Class Template Reference
#include <base_factory.hpp>
List of all members.
template<class _network>
class gridpack::factory::BaseFactory< _network >
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
A convenience function that checks to see if something is true on all processors
- Parameters:
-
| flag | boolean flag on each processor |
- Returns:
- true if flag is true on all processors, false otherwise
A convenience function that checks to see if something is true on at least one processor
- Parameters:
-
| flag | boolean flag on each processor |
- Returns:
- true if flag is true on at least one processor, false otherwise
Debugging call that will dump contents of DataCollection objects on each bus and branch. This call will attempt to guarantee that output is generated sequentially from each processor but this will probably fail because of IO buffering
return a pointer to the branch list
- Parameters:
-
| branches | pointer to a list of base branch component pointers |
| nbranch | number of branches on processor |
return a pointer to the bus list
- Parameters:
-
| buses | pointer to a list of base bus component pointers |
| nbus | number of buses on processor |
Generic method that invokes the "load" method on all branches and buses to move data from the DataCollection objects on the network into the corresponding buses and branches
Save internal state variables of the buses and branches to the associated data collection object for possible use in output or to transfer them to another network
Set the mode for all BaseBranchComponent objects in the network.
- Parameters:
-
| mode | integer representing desired mode |
Set the mode for all BaseBusComponent objects in the network.
- Parameters:
-
| mode | integer representing desired mode |
Set pointers in each bus and branch component so that it points to connected buses and branches. This routine operates on the generic BaseBusComponent and BaseBranchComponent interfaces. It also sets some indices in MatVecInterface for each component.
Set up the exchange buffers so that they work correctly. This should only be called after the network topology has been specified
- Parameters:
-
| flag | if true then have network allocate buffers for exchange, otherwise use external buffers |
Set the mode for all BaseComponent objects in the network.
- Parameters:
-
| mode | integer representing desired mode |
The documentation for this class was generated from the following file: